#![cfg_attr(debug_assertions, allow(dead_code, unused_imports, unused_variables, unused_mut))]


use log::info;

use crate::common::CommResult;

mod jsontest;
pub mod dto;
pub mod provider;
mod run;
pub mod common;
pub mod logger;
pub mod config;
pub mod util;
pub mod client;
pub mod msghandler;
pub mod llm;

fn main() -> CommResult<()> {
    if let Err(err) = run::agent_run::start() {
        println!("启动agent失败> {:#?}", err)
    }
    println!("退出agent");
    return Ok(());
}
